package com.Mt.pojo;

import java.io.Serializable;
import java.util.List;

public class Page<E> implements Serializable {
    public Page(){ }

    public Page(int count, int pageEnd, List<E> data) {
        this.count = count;
        this.pageEnd = pageEnd;
        this.data = data;
    }

    private int count;//总数量
    private int pageEnd;//总页数
    private List<E> data;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getPageEnd() {
        return pageEnd;
    }

    public void setPageEnd(int pageEnd) {
        this.pageEnd = pageEnd;
    }

    public List<E> getData() {
        return data;
    }

    public void setData(List<E> data) {
        this.data = data;
    }
}
